/*
 * @Author       : 许警
 * @Date         : 2024-04-24 11:32:20
 * @LastEditors  : 许警
 * @LastEditTime : 2024-05-20 11:00:25
 * @FilePath     : /src/views/content/translate/list/data.js
 * @Description  :
 */

export const columnsArr = [
  {
    title: '序号',
    dataIndex: 'id',
    className: 'table',
    align: 'center'
  },
  {
    title: '渠道名称',
    dataIndex: 'source',
    className: 'table',
    align: 'center'
  },
  {
    title: '绑定服务',
    dataIndex: 'jobName',
    className: 'table',
    align: 'center',
    width: '600px',
    slots: {
      customRender: 'jobName'
    }
  },
  {
    title: '操作',
    dataIndex: 'operation',
    className: 'table',
    align: 'center',
    fixed: 'right',
    slots: {
      customRender: 'operation'
    }
  }
]

export const dataObj = {
  loading: true,
  list: [],
  time: [],
  id: '',
  visible: false,
  selectData: {}
}

export const rulesObj = {
  source: [
    {
      required: true,
      message: '请输入',
      trigger: 'blur'
    }
  ],
  organName: [
    {
      required: true,
      message: '请输入',
      trigger: 'blur'
    }
  ],
  serviceId: [
    {
      required: true,
      message: '请选择'
    }
  ]
}
